

using Wips.AppService.CommonViewModels;

namespace Wips.AppService.Authorities.Menus.ViewModels
{
    /// <summary>
    /// [菜单]数据传输对象
    /// </summary>
    public class TreeMenuViewModel : ViewModelBase
    {
        /// <summary>
        /// KEY
        /// </summary>
        public string? Key { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 跳转路径
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// 排序值
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        ///标题
        /// </summary>
        public string? Title { get; set; }


        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsInside { get; set; }

        /// <summary>
        /// 子项
        /// </summary>
        public  List<TreeMenuViewModel> Children { get; set; }
    }
}